package com.gz.spring.component;

import com.gz.spring.annotation.Component;

@Component //monsterDao
public class MonsterDao {

    public void sayHello() {
        System.out.println("MonsterDao的sayHello()方法被调用");
    }
}
